<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>PCAP + Qt: Исходный файл pcapinqt/kaptilo.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Создано системой Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Титульная&nbsp;страница</span></a></li>
      <li><a href="annotated.html"><span>Классы</span></a></li>
      <li class="current"><a href="files.html"><span>Файлы</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>Файлы</span></a></li>
    </ul>
  </div>
<h1>pcapinqt/kaptilo.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef KAPTILO_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define KAPTILO_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="comment">//</span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;QObject&gt;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &lt;pcap.h&gt;</span>
<a name="l00006"></a>00006 <span class="comment">//</span>
<a name="l00007"></a>00007 <span class="keyword">class </span>NewThread;
<a name="l00008"></a>00008 <span class="comment">//</span>
<a name="l00009"></a>00009 
<a name="l00017"></a><a class="code" href="class_kaptilo_funk.html">00017</a> <span class="keyword">class </span><a class="code" href="class_kaptilo_funk.html">KaptiloFunk</a> : <span class="keyword">public</span> QObject{
<a name="l00018"></a>00018 Q_OBJECT
<a name="l00019"></a>00019 <span class="keyword">public</span>:
<a name="l00020"></a>00020   <a class="code" href="class_kaptilo_funk.html">KaptiloFunk</a>( QObject * parent = 0): QObject(parent) {}
<a name="l00025"></a>00025   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_kaptilo_funk.html#a5af1e350e7620da64fcf1b0dcf111b0d">Funk</a>(<span class="keyword">const</span> <span class="keyword">struct</span> pcap_pkthdr * header, <span class="keyword">const</span> u_char * pkt_data) = 0;
<a name="l00026"></a>00026   <span class="keyword">virtual</span> ~<a class="code" href="class_kaptilo_funk.html">KaptiloFunk</a>() {}
<a name="l00027"></a>00027 };
<a name="l00028"></a>00028 
<a name="l00042"></a><a class="code" href="class_kaptilo.html">00042</a> <span class="keyword">class </span><a class="code" href="class_kaptilo.html">Kaptilo</a> : <span class="keyword">public</span> QObject{
<a name="l00043"></a>00043 Q_OBJECT
<a name="l00044"></a>00044 <span class="keyword">private</span>:
<a name="l00045"></a>00045   NewThread * th;
<a name="l00046"></a>00046 <span class="keyword">public</span>:
<a name="l00052"></a>00052   <a class="code" href="class_kaptilo.html#a8edf29867350bcd74742859ae0c4e078">Kaptilo</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * device, <span class="keyword">const</span> <span class="keywordtype">char</span> * filter, <a class="code" href="class_kaptilo_funk.html">KaptiloFunk</a> * kf, QObject * parent = 0);
<a name="l00053"></a>00053   <span class="keyword">virtual</span> ~<a class="code" href="class_kaptilo.html">Kaptilo</a>();
<a name="l00054"></a>00054 };
<a name="l00055"></a>00055 
<a name="l00056"></a>00056 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr class="footer"/><address style="text-align: right;"><small>Документация по PCAP + Qt. Последние изменения: Mon Dec 6 20:57:27 2010. Создано системой&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
